package com.mall.mymall.service;

import com.mall.mymall.dao.dto.ProductDto;
import com.mall.mymall.dao.dto.QueryDto;
import com.mall.mymall.dao.dto.querypage.OrganizationPageRequest;
import com.mall.mymall.dao.dto.querypage.ProductPageRequest;
import com.mall.mymall.dao.entity.Organizations;
import com.mall.mymall.dao.entity.Products;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 十里坡
 * @since 2025-03-06
 */
public interface ProductsService extends IService<Products> {

    QueryDto<ProductDto> pageProducts(ProductPageRequest productPageRequest);

    Boolean updateProductImage(Long productId, String image);

    List<Products> SearchProducts(String keyword);
}
